const API_CONFIG = [
    {
        name: "getCount",
        setCommonParam: true,
        namespace: "retrieval",
        method: "get",
        params: {},
        path: "/management/view/getCount",
        desc: "获取各自tab选项的数据"
    },
    {
        name: "getLabelTree",
        setCommonParam: true,
        namespace: "retrieval",
        method: "get",
        params: {},
        path: "/management/view/formLabel/getLabelTree",
        desc: "获取树形结构"
    },
    {
        name: "getByName",
        setCommonParam: true,
        namespace: "retrieval",
        method: "get",
        params: {},
        path: "/management/view/searchCondition/getByName",
        desc: "获取已存在常用检索"
    },
    {
        name: "deleteTerm",
        setCommonParam: true,
        namespace: "retrieval",
        method: "get",
        params: {},
        path: "/management/view/searchCondition/delete",
        desc: "删除检索条件"
    },
    {
        name: "export",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/view/searchCondition/export",
        desc: "下载检索条件"
    },
    {
        name: "searchData",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/view/data/query",
        desc: "根据检索条件进行检索数据"
    },
    {
        name: "createSave",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/view/searchCondition/save",
        desc: "新增检索条件"
    },
    {
        name: "getTree",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/newView/searchCondition/findTypeTree",
        desc: "获取检索条件以及表头的接口"
    },
    {
        name: "queryData",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/newView/data/newQuery",
        desc: "查询二级分类下的所有数据"
    },
    {
        name: "detailsInfo",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/newView/data/detailsInfo",
        desc: "查询详情"
    },
    {
        name: "newSaveCondition",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/newView/searchCondition/newSaveCondition",
        desc: "新增检索条件"
    },
    {
        name: "getCondition",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "get",
        params: {},
        path: "/management/newView/searchCondition/getConditionByUserId",
        desc: "查询检索条件"
    },
    {
        name: "DeleteCondition",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "get",
        params: {},
        path: "/management/newView/searchCondition/newDeleteCondition",
        desc: "删除检索条件"
    },
    {
        name: "newExport",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/newView/searchCondition/export",
        desc: "导出表格"
    },
    {
        name: "fileCompressExport",
        setCommonParam: true,
        headers: {
            "Content-Type": "application/json"
        },
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/newView/fileCompressExport",
        desc: "导出附件"
    },
    {
        name: "DynamicColumn",
        setCommonParam: true,
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/newView/acquireDynamicColumn",
        desc: "导出表格"
    },
    {
        name: "byCode",
        setCommonParam: true,
        namespace: "retrieval",
        method: "post",
        params: {},
        path: "/management/government/byCodeWithSelf",
        desc: "获取区域列表"
    },
    {
        name: "getFormItem",
        setCommonParam: true,
        namespace: "retrieval",
        method: "get",
        params: {},
        path: "/management/data/update/label/list",
        desc: "二级分类下面的关联公共表单项列表"
    },
    {
        name: "saveData",
        setCommonParam: true,
        namespace: "retrieval",
        method: "post",
        params: {},
        headers: {
            "Content-Type": "application/json"
        },
        path: "/management/data/update/save",
        desc: "数据更新"
    }
];

export default API_CONFIG;
